Next | Prev | Up | Top | Contents | Index

pc Sampling Frequency

The default frequency of pc sampling is 10 milliseconds. You can change the pc sampling to 1 millisecond by setting the environment variable:

PROF_SAMPLING=1
Since pc sampling is statistical, this provides more accurate profiling data. However, be aware that considerable kernel overhead is incurred for every process executing on the system while the profiled program is running.


Next | Prev | Up | Top | Contents | Index